package com.jdew.thkj.bean;

import java.io.Serializable;
import java.util.List;

public class LiangHaoBean implements Serializable {

    /**
     * success : true
     * message : 请求成功
     * data : [{"userPhone":"18361236833","userCode":"1","amount":29.7,"bonusSum":null,"createTime":"2019-03-07 10:21:52"},{"userPhone":"18361236833","userCode":"1","amount":29.7,"bonusSum":null,"createTime":"2019-03-06 13:00:06"},{"userPhone":"18361236833","userCode":"1","amount":29.7,"bonusSum":null,"createTime":"2019-03-06 11:39:37"},{"userPhone":"18361236833","userCode":"1","amount":29.7,"bonusSum":null,"createTime":"2019-02-25 13:24:06"}]
     * code : 0
     * num : null
     * numto : null
     * number :
     */

    private boolean success;
    private String message;
    private String code;
    private Object num;
    private Object numto;
    private String number;
    private List<DataBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getNum() {
        return num;
    }

    public void setNum(Object num) {
        this.num = num;
    }

    public Object getNumto() {
        return numto;
    }

    public void setNumto(Object numto) {
        this.numto = numto;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * userPhone : 18361236833
         * userCode : 1
         * amount : 29.7
         * bonusSum : null
         * createTime : 2019-03-07 10:21:52
         */

        private String userPhone;
        private String userCode;
        private String amount;
        private String bonusSum;
        private String createTime;

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getUserCode() {
            return userCode;
        }

        public void setUserCode(String userCode) {
            this.userCode = userCode;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getBonusSum() {
            return bonusSum;
        }

        public void setBonusSum(String bonusSum) {
            this.bonusSum = bonusSum;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
